package com.yunhe.xyxxgl.view.User;

import com.yunhe.xyxxgl.mode.User;

import java.util.Scanner;

/**
 * Created by Administrator on 2017/8/8 0008.
 */
public class UserDel {
    public static User userDelUI(){
        System.out.println("*************************学员信息管理系统-用户管理-删除**********************");
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入要删除的用户类型（讲师/管理员）：");
        String type = sc.next();
        System.out.println("请输入要删除的用户名：");
        String userName = sc.next();
        return new User(userName,type);
    }
}
